﻿<%@ Page Language="C#" MasterPageFile="~/MamiMasterPage.master" AutoEventWireup="true"
    CodeFile="Article.aspx.cs" Inherits="Article" CodeFileBaseClass="DGP.Framework.Web.UI.BasePage" %>

<%@ Register Assembly="DGP.Framework" Namespace="DGP.Framework.Web.UI.Controls" TagPrefix="cc2" %>
<%--<%@ OutputCache Duration="300" VaryByParam="*" %>--%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/CustomControls/Newsletter.ascx" TagName="Newsletter" TagPrefix="mami" %>
<%@ Register Src="~/CustomControls/TopSearches.ascx" TagName="TopSearches" TagPrefix="mami" %>
<%@ Register Src="~/CustomControls/TopArticles.ascx" TagName="TopArticles" TagPrefix="mami" %>
<%@ Register Src="~/CustomControls/RelatedArticles.ascx" TagName="RelatedArticles"
    TagPrefix="mami" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentHolder" runat="Server">
    <div id="breadcrumbs">
        <asp:Literal ID="litNav" runat="server" Visible="true"></asp:Literal>
    </div>
    <div class="container">
        <a name="top"></a>
        <asp:Literal ID="litMessage" runat="server" />
        <asp:Panel ID="pnlArticle" runat="server" Visible="false">
            <h1 id="longtitle">
                <asp:Literal ID="litTitle" runat="server" />
            </h1>
            <%--<a class="view-comments right" href="#usercomments">comentarii</a>--%>
            <br class="clear-all" />
            <div class="content">
                <asp:Image ID="imgArticle" runat="server" CssClass="right" />
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <cc1:Rating ID="Rating1" runat="server" CurrentRating="0" MaxRating="5" StarCssClass="ratingStar"
                    WaitingStarCssClass="savedRatingStar" FilledStarCssClass="filledRatingStar" EmptyStarCssClass="emptyRatingStar"
                    OnChanged="Rating_Changed">
                </cc1:Rating>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                    <ContentTemplate>
                        <p>
                            <asp:Literal ID="litVotes" runat="server" Text="  din {0} voturi" /></p>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <h6>
                    <asp:Literal ID="litAuthor" runat="server" Visible="false" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Literal ID="litDatePosted" runat="server" /></h6>
                <br />
                <cc2:DGPContentEditor ID="DGPContentEditor1" UserType="Regular" runat="server" CssClass="left"
                    Width="100%" Height="600" />
                <asp:Literal ID="litContent" runat="server" Visible="false" />
                <%--<div class="container" align="center">
                    <a class="add-comments" href="#usercomments">Comenteaza</a>
                </div>
                <br class="clear-all" />
                <div align="center">--%>
                <%--<div class="addthis-rss">
                    <a target="_blank" href="http://www.addthis.com/feed.php?pub=diy&amp;h1=http://feeds.feedburner.com/doityourselfdiy&amp;t1="
                        title="Subscribe using any feed reader!">
                        <img src="http://s3.addthis.com/button1-rss.gif" alt="AddThis Feed Button" width="125"
                            border="0" height="16"></a>
                </div>--%>
                <%-- <a href="#top">- SUS -</a>
                </div>--%>
                <%--<div id="usercomments">
                    <h2>
                        Comentarii</h2>
                    <a class="login-btn" href="/Forum/login.aspx?ReturnUrl=<%=Request.RawUrl %>">>Autentifica-te</a>
                    sau <a href="/Forum/user/CreateUser.aspx?ReturnUrl=<%=Request.RawUrl %>">inregistreaza-te</a>
                    pentru a lasa un comentariu.
                    <br />
                    <br />
                    Daca aveti o intrebare la care vreti sa vi se raspunda, va rugam sa intrebati si
                    <a href="/forum">Comunitatea MamiMeu.ro</a>.
                </div>--%>
            </div>
        </asp:Panel>
        Taguri:
        <div id="breadcrumbs">
            <asp:Repeater ID="repTags" runat="server">
                <ItemTemplate>
                    <a href="Tags.aspx?ID=<%# Server.UrlEncode(Container.DataItem.ToString().Trim()) %>">
                        <%# Container.DataItem.ToString().Trim() %></a> »
                </ItemTemplate>
            </asp:Repeater>
        </div>
    </div>
    <cc1:ModalPopupExtender ID="mdlPopup" runat="server" TargetControlID="Rating1" PopupControlID="pnlThanks"
        CancelControlID="btnClose" BackgroundCssClass="modalBackground" DropShadow="true"
        RepositionMode="RepositionOnWindowResizeAndScroll">
    </cc1:ModalPopupExtender>
    <asp:Panel ID="pnlThanks" runat="server" CssClass="modalPopup">
        <p>
            Va multumim ca ati votat acest articol!
        </p>
        <asp:Button ID="btnClose" runat="server" Text="Inchide" OnClick="btnClose_Click" />
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentHolder" runat="Server">
    <mami:RelatedArticles ID="relatedarticles" runat="server" />
    <mami:Newsletter ID="newsletter" runat="server" />
    <mami:TopSearches ID="topsearches" runat="server" />
    <mami:TopArticles ID="toparticles" runat="server" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="SiteStructure" runat="Server">
</asp:Content>
